From: Jonathan Lebon Date: Thu, 13 Oct 2016 15:56:46 +0000 (-0400) Subject: docs: amend vmlinuz & initramfs naming convention X-Git-Tag: archive/raspbian/2022.1-3+rpi1~1^2~4^2~45^2~9 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/success//%22http:/www.example.com/cgi/success/?a=commitdiff_plain;h=3943284dadc9734cdc14b8ac7c1de0e4e253c913;p=ostree.git docs: amend vmlinuz & initramfs naming convention I was confused while reading the docs how this could work, since in at least the Fedora/CentOS/RHEL distros, they're named e.g. initramfs-`uname -r`-$checksum. Closes: #529 Approved by: cgwalters --- diff --git a/docs/manual/deployment.md b/docs/manual/deployment.md index dc77809c..51554c4f 100644 --- a/docs/manual/deployment.md +++ b/docs/manual/deployment.md @@ -43,13 +43,14 @@ deployment. For short, we will call this the "tree", to distinguish it from the concept of a deployment. First, the tree must include a kernel stored as -`/boot/vmlinuz-$checksum`. The checksum should be a SHA256 hash of -the kernel contents; it must be pre-computed before storing the kernel -in the repository. Optionally, the tree can contain an initramfs, -stored as `/boot/initramfs-$checksum`. If this exists, the checksum -must include both the kernel and initramfs contents. OSTree will use -this to determine which kernels are shared. The rationale for this is -to avoid computing checksums on the client by default. +`vmlinuz(-.*)?-$checksum` in either `/boot` or `/usr/lib/ostree-boot`. +The checksum should be a SHA256 hash of the kernel contents; it must be +pre-computed before storing the kernel in the repository. Optionally, +the directory can also contain an initramfs, stored as +`initramfs(-.*)?-$checksum`. If this exists, the checksum must include +both the kernel and initramfs contents. OSTree will use this to +determine which kernels are shared. The rationale for this is to avoid +computing checksums on the client by default. The deployment should not have a traditional UNIX `/etc`; instead, it should include `/usr/etc`. This is the "default configuration". When